import request from '@/utils/request'

//用户单位列表
export function deptInfoStat(data) {
	return request({
		method: 'post',
		url: 'stat/deptInfo',
		headers: {
			userButton: 'e1072286ec9240118b961dd221f1890e'
		},
		data
	})
}

//研究领域分布表
export function sectorInfoStat(data) {
	return request({
		method: 'post',
		url: 'stat/sectorInfo',
		headers: {
			userButton: 'd92b8b232648460b8873a43f37c28825'
		},
		data,
	})
}

//机时、课题、用户统计数据
export function statInfoStat(data) {
	return request({
		method: 'post',
		url: 'stat/statInfo',
		headers: {
			userButton: '502fd6044b144a439507e1bd3b89dca3'
		},
		data
	})
}

//用户信息统计数据
export function userInfoStat(data) {
	return request({
		method: 'post',
		url: 'stat/userInfo',
		headers: {
			userButton: '4d0bdfe0b6c946c0b58895d9afa36846'
		},
		data
	})
}

//查询当前用户未读站内信数量
export function piDataStat(data) {
	return request({
		method: 'post',
		url: 'stat/piInfo',
		headers: {
			userButton: '6f99c8da11164091b234a2cdfbc4d261'
		},
		data
	})
}

//查询测量技术
export function queryMeasureList(data) {
	return request({
		method: 'post',
		url: 'stat/measureInfo',
		headers: {
			userButton: '010e2413f0fe40d5a8f9700d1ed1b281'
		},
		data
	})
}

//查询成果数据
export function queryMarvelList(data) {
	return request({
		method: 'post',
		url: 'stat/queryMarvelPageList',
		headers: {
			userButton: '1b37d5b42ae0424dbfd8469491734ffe'
		},
		data
	})
}

//导出用户数据
export function exportUserData(data) {
	return request({
		method: 'get',
		url: 'stat/export',
		responseType: 'blob',
		headers: {
			userButton: '5e814e7407914ccfb06c23d3b3112d9d'
		},
		params: data
	})
}

//导出成果数据
export function exportMarvelData(data) {
	return request({
		method: 'get',
		url: 'stat/downloadMarvel',
		responseType: 'blob',
		headers: {
			userButton: 'fe4d6cc2a7264ab8b2cea494bf0fd114'
		},
		params: data
	})
}

//查询液氦数据
export function queryHeliumData(data) {
	return request({
		method: 'post',
		url: 'stat/piweihu',
		headers: {
			userButton: '02925e86bfa740d8b5873d57f462a01f'
		},
		data
	})
}

//查询液氮数据
export function queryAzoteData(data) {
	return request({
		method: 'post',
		url: 'stat/kjzweihu',
		headers: {
			userButton: 'ff84a6c2ab9f4f329a0e6b9547e250f9'
		},
		data
	})
}

//查询运维工程师数据
export function queryEngineerData(data) {
	return request({
		method: 'post',
		url: 'stat/operInfo',
		headers: {
			userButton: 'b51b989e101d449faa48d8de0177fefd'
		},
		data
	})
}